/**
	An object acting as a Form Element.


	@author Chandler McWilliams
	@version 1.0
	@version 2005-10-03

**/
class timber.ui.control.ComboBoxWrapper extends timber.ui.control.FormElement implements timber.ui.control.FormElementInterface
{
	private var mcDropdown;
	
/**
	Returns the current value

	@return (string) Current value.

**/

	public function getValue() {
		return mcDropdown.getValue();
	}
	
/**
	Sets the current value.
	
	@param value The new value.

**/
	public function setValue(val) { 
		mcDropdown.setValue(val); 
	}

/**

	Returns the element's name.

	@return (string) Name.

**/
	public function getName() { return this._name; }
	
/**

	Add's items


**/
	public function addItem(label, val) { 
		mcDropdown.addItem(label, val);
	}

/**
	Set the item's selection

	@param  item
**/
	public function setSelectedIndex(i) {
		mcDropdown.setSelectedIndex(i);
	}
	
}

